473,471 Members | 1,898 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Cascading radiobutton group/drop down list

Hello,

I am working on real estate web site.
The search module requires the following client-side functionality:
1) a radio button group to select sales <ORrental
2) based on the above selection, a dropdown list should display the
applicable price ranges.

The functionality is identical to the code found @
http://webdeveloper.earthweb.com/rep...ps_simple.html

The only difference being that the first dropdown should be replaced by a
radio button group.

Having very limited knowledge in JavasScript, I have been unable ta adapt
the code.
Thanks in advance for your support,

Michel
Apr 28 '07 #1
1 3699
On Apr 28, 10:15 pm, "Michel Couche" <Cont...@michelcouche.xxnetxx>
wrote:
Hello,

I am working on real estate web site.
The search module requires the following client-side functionality:
1) a radio button group to select sales <ORrental
2) based on the above selection, a dropdown list should display the
applicable price ranges.

The functionality is identical to the code found @http://webdeveloper.earthweb.com/repository/javascripts/2002/07/91311...

The only difference being that the first dropdown should be replaced by a
radio button group.

Having very limited knowledge in JavasScript, I have been unable ta adapt
the code.
Thanks in advance for your support,

Michel
code it all in html as normal, then set the drop downs styles using
css to display:none.
..hidden{visibility:hidden;display:none;}
..visible{visibility:visible;}
use an onclick event on the radio group to set the className of the
dropdowns so that whichever radio you hit, the corresponding select
appears by itself.
make sure that it is clear which radio button goes with which dropdown
when everything is visible

You can use js to store all the data and then populate a select. but
its not accessible, whereas coding it all using html, so thats its
clear without the javascript means your page will work if js is on or
off.

Apr 29 '07 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Scott McChesney | last post by:
I'm writing a Windows application for a client, and I've run into a problem I don't know how to solve. The UI is relatively simple - a listbox on the left (in a panel), and a third-party tab...
9
by: Edwinah63 | last post by:
Hi everyone, Please let there be someone out there who can help. I have two BOUND combo boxes on a continuous form, the second being dependent on the first. I have no problem getting the...
2
by: malhar | last post by:
hi friends....i want a help for cascading my drop down lists....
0
by: john_mcmahon | last post by:
I'm having issues populating a second drop down menu that's dependent upon a selection in the first menu. When I select an option from the first menu, the second menu remains disabled, i.e. unable...
3
kcdoell
by: kcdoell | last post by:
Hello: I have been struggling with building a cascading list on a form that I created. My problem is that I am getting a "Datatype Mismatch in criteria expression" error that I can not seem to...
7
kcdoell
by: kcdoell | last post by:
I have three tables: One for the Division location: tblDivision DivisionID = Autonumber DivisionName = Text One for the Working Region: tblWrkRegion
1
kcdoell
by: kcdoell | last post by:
Good Morning: I have a form where I am trying to create cascading combo boxes. I have done this before but I am getting the following error that is throwing me off: Procedure declaration...
3
kcdoell
by: kcdoell | last post by:
I have 5 cascading combo boxes on a form. Below is a sample of my vb in the first combo box: Private Sub CboDivision_AfterUpdate() 'When the Division is selected, the appropriate Segment...
18
by: LosLobo | last post by:
Greetings all. I know that cascading lists are a common problem and in truth I my initial post here was to request help with my own, but then I figured out the right code. That being said, I have a...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.